-- GENERATED SPELL FOR [Witherbark Sadist] --


function spell0_2653(pUnit, Event) --@Battle Stance,Self--
pUnit:FullCastSpellOnTarget(7165,pUnit)
pUnit:RegisterEvent('Sorts_2653', 553, 1)
end

function spell1_2653(pUnit, Event) --@Heroic Strike,n/a--
pUnit:FullCastSpellOnTarget(25710,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_2653', 591, 1)
end

function Sorts_2653(pUnit, Event)
local choix_sorts_2653 = math.random(0, 1)
if choix_sorts_2653 == 0 then
pUnit:RegisterEvent('spell0_2653', 1, 1)
end
if choix_sorts_2653 == 1 then
pUnit:RegisterEvent('spell1_2653', 1, 1)
end
end

function mob2653_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_2653', math.random(1500, 3000), 1)
end

function mob2653_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2653_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2653_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(2653, 1, 'mob2653_Action')
RegisterUnitEvent(2653, 2, 'mob2653_Leave')
RegisterUnitEvent(2653, 3, 'mob2653_Kill')
RegisterUnitEvent(2653, 4, 'mob2653_Die')
